package com.ruoyi.association.service;

import com.ruoyi.association.domain.CustomerCollectDynamic;

import java.util.List;

/**
 * 客户收藏店员动态 业务层
 * 
 * @author ruoyi
 */
public interface ICustomerCollectDynamicService
{

    public List<CustomerCollectDynamic> selectCustomerCollectDynamicList(CustomerCollectDynamic customerCollectDynamic);

    /**
     * 通过店员动态ID查询店员动态关联数量
     *
     * @param dynamicId 店员动态ID
     * @return 结果
     */
    public int countCustomerDynamicByDynamicId(Long dynamicId);

    /**
     * 通过客户ID查询店员动态关联数量
     *
     * @param customerId 客户ID
     * @return 结果
     */
    public int countCustomerDynamicByCustomerId(Long customerId);

    /**
     * 通过客户ID和店员动态ID查询店员动态关联数量
     *
     * @param customerId 客户ID
     * @return 结果
     */
    public int countCustomerDynamicById(Long customerId, Long dynamicId);

    /**
     * 批量删除客户和店员动态关联
     *
     * @param customerId dynamicId 需要删除的数据ID
     * @return 结果
     */
    public int deleteCustomerDynamicById(Long customerId, Long dynamicId);

    /**
     * 批量新增客户店员动态信息
     *
     * @param customerDynamicList 客户店员动态列表
     * @return 结果
     */
    public int batchCustomerDynamic(List<CustomerCollectDynamic> customerDynamicList);
}
